home *** CD-ROM | disk | FTP | other *** search
/ Ultra Pack / UltraComputing Technology Demos and Tools.iso / solidifier / Models / porsche_driving.mdl < prev    next >
Encoding:
Text File  |  1995-08-23  |  3.6 KB  |  145 lines

  1. !
  2. ! Created by Alex and Kirk 
  3. !
  4. load_object "../Objects/porsche_with_driver.obj"
  5.  
  6. render.face_dist "plain" = on
  7. back_surf.color "plain" = 0.0 0.0 0.0
  8. render.face_dist "windows" = off
  9. markers.marker_color "redlgt" = 0.5 0 0
  10. markers.marker_color "amberlgt" = 0.8 0.55 0.1
  11. markers.marker_color "rubber" = 0.1 0.1 0.1
  12. markers.marker_color "windows" = 0.2 0.2 0.3
  13. markers.marker_color "bottom" = 0.2 0.15 0.1
  14. markers.marker_color "headlgt" = 1 1 1
  15. markers.marker_color "rtires" = 0.1 0.1 0.1
  16. markers.marker_color "rrims" = 0.6 0.6 0.7
  17. markers.marker_color "lftire" = 0.1 0.1 0.1
  18. markers.marker_color "lfrim" = 0.6 0.6 0.7
  19. markers.marker_color "rftire" = 0.1 0.1 0.1
  20. markers.marker_color "rfrim" = 0.6 0.6 0.7
  21. lines.line_color "redlgt" = 0.5 0 0
  22. lines.line_color "amberlgt" = 0.8 0.55 0.1
  23. lines.line_color "rubber" = 0.1 0.1 0.1
  24. lines.line_color "windows" = 0.2 0.2 0.3
  25. lines.line_color "bottom" = 0.2 0.15 0.1
  26. lines.line_color "headlgt" = 1 1 1
  27. lines.line_color "rtires" = 0.1 0.1 0.1
  28. lines.line_color "rrims" = 0.6 0.6 0.7
  29. lines.line_color "lftire" = 0.1 0.1 0.1
  30. lines.line_color "lfrim" = 0.6 0.6 0.7
  31. lines.line_color "rftire" = 0.1 0.1 0.1
  32. lines.line_color "rfrim" = 0.6 0.6 0.7
  33. front_surf.color "body" = 0.9 0 0
  34. front_surf.color "redlgt" = 0.5 0 0
  35. front_surf.color "amberlgt" = 0.8 0.55 0.1
  36. front_surf.color "rubber" = 0.1 0.1 0.1
  37. front_surf.color "windows" = 0.2 0.2 0.3
  38. front_surf.color "bottom" = 0.2 0.15 0.1
  39. front_surf.color "headlgt" = 1 1 1
  40. front_surf.color "rtires" = 0.1 0.1 0.1
  41. front_surf.color "rrims" = 0.6 0.6 0.7
  42. front_surf.color "lftire" = 0.1 0.1 0.1
  43. front_surf.color "lfrim" = 0.6 0.6 0.7
  44. front_surf.color "rftire" = 0.1 0.1 0.1
  45. front_surf.color "rfrim" = 0.6 0.6 0.7
  46. front_surf.light_component "bottom" = ambient diffuse
  47. front_surf.specular "rubber" = 0.49
  48. front_surf.specular "rtires" = 0.25
  49. front_surf.specular "lftire" = 0.25
  50. front_surf.specular "rftire" = 0.25
  51. front_surf.specular_power "rubber" = 12
  52. front_surf.specular_power "rtires" = 8
  53. front_surf.specular_power "lftire" = 8
  54. front_surf.specular_power "rftire" = 8
  55. front_surf.transp_method "windows" = blended
  56. front_surf.transp_blend_eq "windows" = arbitrary_bg
  57. front_surf.transparency "windows" = 0.86
  58.  
  59. lighting.switch[0] = on
  60. lighting.type[0] = ambient
  61. lighting.color[0] = 1 1 1
  62.  
  63. lighting.switch[1] = on
  64. lighting.type[1] = directional
  65. lighting.color[1] = 1 0.8 0.8
  66. lighting.direction[1] = 0.428571 -0.857143 -0.285714
  67.  
  68. lighting.switch[2] = on
  69. lighting.type[2] = directional
  70. lighting.color[2] = 0.8 0.8 1
  71. lighting.direction[2] = -0.801784 -0.267261 -0.534522
  72.  
  73. position.local_matrix =
  74.     1 0 0 0
  75.     0 1 0 0
  76.     0 0 1 0
  77.     0 0 0 1
  78. position.global_matrix =
  79.     0.153224 -0.196882 0.96838 0
  80.     -0.0298036 0.978585 0.203673 0
  81.     -0.987742 -0.0600687 0.144075 0
  82.     0 0 0 1
  83. position.view_matrix =
  84.     0.928 0 0 0
  85.     0 1 0 0
  86.     0 0 0.2 -0.25
  87.     0 0 0 1
  88. draw
  89.  
  90.  
  91. part.deselect_all
  92. part.select plain
  93. draw
  94.  
  95. load_texture "../Images/MISC/sky5.im24"
  96.  
  97. texture.approx = num_seg
  98. texture.subseg = 1
  99. texture.status = image
  100. texture.binding
  101. texture.update
  102. draw
  103.  
  104.  
  105. video.switch = off 
  106. video.board = board0
  107. video.port = port1
  108. video.size = 0.25
  109. video.interpolation = nearest
  110. video.mirror = off
  111. video.frames = 30
  112. video.start
  113.  
  114. !Loop to give video a chance to init
  115. loop 60
  116.         position.local_x_rotate = 0.0
  117.         position.local_y_rotate = 0.0
  118.         draw
  119. end_loop
  120.  
  121. texture.status = off 
  122. draw
  123.  
  124. !texture.switch = on
  125. !rotate texture map 90 degrees
  126. texture.tau_func = 48 
  127. texture.approx = num_seg
  128. texture.subseg = 45
  129. texture.status = video
  130. texture.binding
  131. texture.update
  132. draw
  133.  
  134.  
  135. ! Timeout Loop 
  136. loop 40
  137.         position.local_x_rotate = 0.0
  138.         position.local_y_rotate = 0.0 
  139.         draw 
  140. end_loop
  141.  
  142.  
  143. part.select_all
  144. draw
  145.